package com.nsoft.server.register.beans;
import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.nsoft.server.master.beans.AccountMaster;

@Entity
@Table(name="gc_footer")
public class GcFooter implements Serializable {
	@Id
	@Column(name="gcf_num_id")
	private int gcfNumId;


	@ManyToOne
	@JoinColumn(name = "gcf_num_accid")
	private AccountMaster gcaccountMaster;
	
	/*@Column(name="gcf_num_accid")
	private int gcfNumAccid;*/

	public AccountMaster getGcaccountMaster() {
		return gcaccountMaster;
	}

	public void setGcaccountMaster(AccountMaster gcaccountMaster) {
		this.gcaccountMaster = gcaccountMaster;
	}

	@Column(name="gcf_char_description")
	private String gcfCharDescription;

	public AccountMaster getAccountMaster() {
		return gcaccountMaster;
	}

	public void setAccountMaster(AccountMaster accountMaster) {
		this.gcaccountMaster = accountMaster;
	}

	@Column(name="gcf_cur_charges")
	private BigDecimal gcfCurCharges;

	@ManyToOne
	@JoinColumn(name="gcf_num_gcid")
	private GcHeader gcfNumGcid;

	private static final long serialVersionUID = 1L;

	public GcFooter() {
		super();
	}

	public int getGcfNumId() {
		return this.gcfNumId;
	}

	public void setGcfNumId(int gcfNumId) {
		this.gcfNumId = gcfNumId;
	}


	public String getGcfCharDescription() {
		return this.gcfCharDescription;
	}

	public void setGcfCharDescription(String gcfCharDescription) {
		this.gcfCharDescription = gcfCharDescription;
	}

	public BigDecimal getGcfCurCharges() {
		return this.gcfCurCharges;
	}

	public void setGcfCurCharges(BigDecimal gcfCurCharges) {
		this.gcfCurCharges = gcfCurCharges;
	}

	public GcHeader getGcfNumGcid() {
		return this.gcfNumGcid;
	}

	public void setGcfNumGcid(GcHeader gcfNumGcid) {
		this.gcfNumGcid = gcfNumGcid;
	}

}
